ExamPlay Light Logo
Logg på

Computer Science for IGCSE & O level - Programming (Section 13 - No. 19)

What is the result if a CASE statement has no matching case, and no default (or ELSE) clause?
The program ends.
The code inside the first case is executed.
The program continues execution after the CASE block.
An error message is displayed.

Forklaring

Without a default or ELSE clause, the program will continue execution after the CASE statement if no case matches.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc